package com.ytjj.common.dto.mqdto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 *
 *  *
 **/
@Data
public class SellAfterDto implements Serializable {

    private Integer productId; 
    private Integer productSpecId;
    private Integer sum;
    private BigDecimal productPrice;
    private Integer isWalletPay;
    private String tokenUsers;
    private Integer isDirectbuy;
    private String activityType;
    private BigDecimal activityMax;
    private Integer userId;

    public SellAfterDto() {
    }

    public SellAfterDto(Integer productId, Integer productSpecId, Integer sum, BigDecimal productPrice, Integer isWalletPay, Integer isDirectbuy, String activityType, BigDecimal activityMax, Integer userId) {
        this.productId = productId;
        this.productSpecId = productSpecId;
        this.sum = sum;
        this.productPrice = productPrice;
        this.isWalletPay = isWalletPay;
        this.isDirectbuy = isDirectbuy;
        this.activityType = activityType;
        this.activityMax = activityMax;
        this.userId = userId;
    }

    public SellAfterDto(Integer productId, Integer productSpecId, Integer sum, BigDecimal productPrice, Integer isWalletPay,String tokenUsers, Integer isDirectbuy, String activityType, BigDecimal activityMax, Integer userId) {
        this.productId = productId;
        this.productSpecId = productSpecId;
        this.sum = sum;
        this.productPrice = productPrice;
        this.isWalletPay = isWalletPay;
        this.tokenUsers = tokenUsers;
        this.isDirectbuy = isDirectbuy;
        this.activityType = activityType;
        this.activityMax = activityMax;
        this.userId = userId;
    }
}
